package org.lgiavedoni.android.franq.interceptor.common.talk;

import java.util.Date;

import org.lgiavedoni.android.franq.core.message.MessageIn;
import org.lgiavedoni.android.franq.core.message.MessageInterceptor;
import org.lgiavedoni.android.franq.service.communication.CommunicationService;

public class HiMessageInterceptor extends MessageInterceptor {

	@Override
	public void processMessage(MessageIn message) throws Exception {
		CommunicationService.inst.sendDefaultTextMessage("Hi at " + new Date().toLocaleString());
	}

	@Override
	public String[] getInterceptorTags() {
		return new String[] { "hi", "hello" };
	}

}
